package cn.edu.sgu.www.mhxysy.easyexel.impl;

import cn.edu.sgu.www.mhxysy.easyexel.ExcelData;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
public class GangMemberExcelData implements ExcelData {

    @ExcelProperty(value = "成员ID", order = 1)
    private String id;

    /**
     * 帮派成员
     */
    @ExcelProperty(value = "帮派成员", order = 2)
    private String name;

    /**
     * 等级
     */
    @ExcelProperty(value = "等级", order = 3)
    private Integer grade;

    /**
     * 角色造型
     */
    @ExcelProperty(value = "角色造型", order = 4)
    private String role;

    /**
     * 门派
     */
    @ExcelProperty(value = "门派", order = 5)
    private String school;

    /**
     * 帮派职务
     */
    @ExcelProperty(value = "职务", order = 6)
    private String job;

    /**
     * 帮派
     */
    @ExcelProperty(value = "帮派", order = 7)
    private String gang;

    /**
     * 本周帮贡
     */
    @ExcelProperty(value = "本周帮贡", order = 8)
    private Integer bzbg;

    /**
     * 现有帮贡
     */
    @ExcelProperty(value = "现有帮贡", order = 9)
    private Integer xybg;

    /**
     * 历史帮贡
     */
    @ExcelProperty(value = "历史帮贡", order = 10)
    private Integer lsbg;

    /**
     * 入帮时间
     */
    @ExcelProperty(value = "入帮时间", order = 11)
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate enterTime;

    /**
     * 离线时间
     */
    @ExcelProperty(value = "离线时间", order = 12)
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate lastOnline;
}